package com.wang.mall.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 库存工作单
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wms_ware_order_task_detail")
public class WmsWareOrderTaskDetail implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * sku_id
     */
    @TableField(value = "sku_id")
    private Long skuId;

    /**
     * sku_name
     */
    @TableField(value = "sku_name")
    private String skuName;

    /**
     * 购买个数
     */
    @TableField(value = "sku_num")
    private Integer skuNum;

    /**
     * 工作单id
     */
    @TableField(value = "task_id")
    private Long taskId;

    /**
     * 仓库id
     */
    @TableField(value = "ware_id")
    private Long wareId;

    /**
     * 1-已锁定  2-已解锁  3-扣减
     */
    @TableField(value = "lock_status")
    private Integer lockStatus;

    private static final long serialVersionUID = 1L;
}